package part2;
public class part2_3 implements part2_3_6,part2_3_7{
    @Override
    public void demo1() {
        System.out.println(part2_3_6.part2_3_1.card_id+part2_3_2.ltime);
    }

    @Override
    public void demo2() {
        System.out.println(part2_3_6.part2_3_1.card_id+part2_3_3.wave);
    }
//枚举类测试
part2_3_1 part2_3_1=new part2_3_1();
    public static void main(String[] args){
        part2_3_1 part2_3_1=new part2_3_1();
        part2_3_2 part2_3_2=new part2_3_2();
        part2_3_3 part2_3_3=new part2_3_3();
        part2_3_4 part2_3_4=new part2_3_4();
        for(int i = 0; i < part2.part2_3_1.card_m.values().length; i++) {
            System.out.println("枚举成员："+ part2.part2_3_1.card_m.values()[i]);
        }
        //tostring测试
        System.out.println(part2_3_1.toString());
        System.out.println(part2_3_2.toString());
        System.out.println(part2_3_3.toString());
        System.out.println(part2_3_4.toString());
    }





}
